#!/bin/bash
#
. ./public_functions.sh

logY "-------------------- cpu top 10 --------------------"
ps -eo pid,pcpu,pmem,args --sort=-pcpu | head -n 11

logY "-------------------- memory top 10 -----------------"
ps -eo pid,pcpu,pmem,args --sort=-pmem | head -n 11
